package com.computergames.server.message;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class StageSelectionRequestMessage extends Message implements HasJwtToken{
    int stage;
    String jwtToken;

    public StageSelectionRequestMessage() {
    }

    /**
     * 1、小组赛
     * 2、复赛
     * 3、决赛
     */
    public StageSelectionRequestMessage(int stage, String jwtToken) {
        this.stage = stage;
        this.jwtToken = jwtToken;
    }

    @Override
    public int getMessageType() {
        return StageSelectionRequestMessage;
    }
}
